<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <title>修改参数</title>
  <link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
  <link rel="stylesheet" href="/static/include/css/style.css">
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
  <form class="form-horizontal m" id="editForm" action="/admin/param/">
    <input id="publicId" name="publicId" field="publicId" type="hidden">
    <input type="hidden" name="oper" id="oper" field="oper"/>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数名称：</label>
      <div class="col-sm-8">
        <input id="publicName" name="publicName" field="publicName" class="form-control" type="text" maxlength="50"
               required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数键名：</label>
      <div class="col-sm-8">
        <input id="publicKey" name="publicKey" field="publicKey" class="form-control" type="text" maxlength="60"
               required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数键值：</label>
      <div class="col-sm-8">
        <input id="publicValue" name="publicValue" field="publicValue" class="form-control" type="text" maxlength="300"
               required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数编码：</label>
      <div class="col-sm-8">
        <input id="validateCode" name="validateCode" field="validateCode" class="form-control" type="text"
               maxlength="60" required>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">参数状态：</label>
      <div class="col-sm-8">
        <select class="form-control" name="status" id="status" field="status">
        </select>
        <!-- <div class="radio-box" th:each="dict : ${@dict.getType('status_type')}">
        <input type="radio" th:id="${dict.id}" name="status" th:value="${dict.value}" th:field="*{status}">
        <label th:for="${dict.id}" th:text="${dict.label}"></label>
      </div> -->
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数类型：</label>
      <div class="col-sm-8">
        <select class="form-control" name="systemFlag" id="systemFlag" field="systemFlag" required>
        </select>
        <!-- <div class="radio-box" th:each="dict : ${@dict.getType('dict_type')}">
        <input type="radio" th:id="${dict.id}" name="systemFlag" th:value="${dict.value}" th:field="*{systemFlag}">
        <label th:for="${dict.id}" th:text="${dict.label}"></label>
      </div> -->
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label is-required">参数小类：</label>
      <div class="col-sm-8">
        <select class="form-control" name="publicType" id="publicType" field="publicType" required>
        </select>
        <!-- <select name="publicType" class="form-control m-b" th:with="type=${@dict.getType('param_type')}">
            <option th:each="dict : ${type}" th:text="${dict.label}" th:value="${dict.value}" th:field="*{publicType}"></option>
        </select> -->
      </div>
    </div>
  </form>
</div>
<script src="/static/include/js/footer.js"></script>
<script src="/static/pages/sysadm/param/paramEdit.js"></script>
</body>
</html>
